        <div class="RightMainBox">
            <div class="head"><span class="tag">商家产品<em>Company goods</em></span>
            </div>
            <div class="cont">
				{include file="../../default/qun/common/mysort" /}
                <div class="ListShops">
					{qb:tag name="qun_pcindex_shop_model001" where="uid=$info.uid&myfid=$myfid" type="shop" order="list" by="desc" rows="16"}
                    <dl>
                        <dt><a href="{$rs.url}" target="_blank"><span><img onerror="this.src='__STATIC__/images/nopic.png'" src='{$rs.picurl}'></span></a></dt>
                        <dd>
                            <ul>
                                <ol><a href="{$rs.url}" target="_blank">{$rs.title}</a>
                                </ol>
                                <li>&yen;{$rs.price}</li>
                            </ul>
                        </dd>
                    </dl> 
					{/qb:tag}
                </div>
            </div>
        </div>


<script type="text/javascript">
var page=1;
//显示更多
function showMoreContent(){	
	page++;
	$.get('{qb:url name="qun_pcindex_shop_model001" /}' + page + "&myfid={$myfid}",function(res){
		if(res.code==0){
			if(res.data==''){
				layer.msg("已经显示完了！",{time:500});
			}else{
				$('.ListShops').append(res.data);
				scroll_get = true;
			}
		}else{
			layer.msg(res.msg,{time:2500});
		}
	});
}

//滚动显示更多
var scroll_get = true;	//做个标志,不要反反复复的加载
$(document).ready(function () {
	$(window).scroll(function () {
		if (scroll_get==true &&  (400 + $(window).scrollTop())>($(document).height() - $(window).height())) {
			scroll_get = false;			
			layer.msg('内容加截中,请稍候',{time:1500});
			showMoreContent();
		}
	});
});
</script>